package com.test.web.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Setter
@Getter
@Configuration
@Component
public class NettyConfig {

    @Value("${netty.server.config.port:8088}")
    private Integer port;

    @Value("${netty.server.config.bossGroupNum:2}")
    private Integer bossGroupNum;

    @Value("${netty.server.config.workGroupNum:4}")
    private Integer workGroupNum;

}
